export {};

// 接口：类型（格式）约束
interface Post {
  title: string;
  content: string;
}
function printPost(post:Post) {
  console.log(post.title);
  console.log(post.content);
}
